package com.hongdee.scm.provideCompany.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Administrator on 2017/9/13.
 */
@Entity
@Table(name = "T_Scm_provideCompany")
public class TScmProvideCompany extends BaseEntity {

    //客商编码
    @Column(name = "customer_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '客商编码'")
    private String customerCode;
    //客商名称
    @Column(name = "customer_name", length = 255, columnDefinition = "VARCHAR(255) COMMENT '客商名称'")
    private String customerName;
    //客商简称
    @Column(name = "customer_nick", length = 32, columnDefinition = "VARCHAR(32) COMMENT '客商简称'")
    private String customerNick;
    //客商类型(0供货商 1销货 2进销)
    @Column(name = "customer_type", length = 1, columnDefinition = "VARCHAR(1) COMMENT '客商类型(0供货商 1销货 2进销)'")
    private String customerType;
    //客户分组(0内部客商1外部客商)
    @Column(name = "customer_differ", length = 1, columnDefinition = "VARCHAR(1) COMMENT '客户分组(0内部客商1外部客商)'")
    private String customerDiffer;
    //客户分类(0厂商1经销商2批发3零售)
    @Column(name = "customer_classify", length = 1, columnDefinition = "VARCHAR(1) COMMENT '客户分类(0厂商1经销商2批发3零售)'")
    private String customerClassify;
    //所属地区
    @Column(name = "location", length = 255, columnDefinition = "VARCHAR(255) COMMENT '所属地区'")
    private String location;
    //地址
    @Column(name = "address", length = 255, columnDefinition = "VARCHAR(255) COMMENT '地址'")
    private String address;
    //联系人
    @Column(name = "contacts", length = 255, columnDefinition = "VARCHAR(255) COMMENT '联系人'")
    private String contacts;
    //电话
    @Column(name = "phoneNum", length = 32, columnDefinition = "VARCHAR(32) COMMENT '电话'")
    private String phoneNum;
    //公司id
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司id'")
    private String companyId;
    //vin
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'vin'")
    private String vin;
    //状态(1启用0禁用)
    @Column(name = "status", length = 1, columnDefinition = "VARCHAR(1) COMMENT 'status'")
    private String status;
    //营业执照号(统一社会信用代码)
    @Column(name = "licence", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'licence'")
    private String licence;

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerNick() {
        return customerNick;
    }

    public void setCustomerNick(String customerNick) {
        this.customerNick = customerNick;
    }

    public String getCustomerType() {
        return customerType;
    }

    public void setCustomerType(String customerType) {
        this.customerType = customerType;
    }

    public String getCustomerClassify() {
        return customerClassify;
    }

    public void setCustomerClassify(String customerClassify) {
        this.customerClassify = customerClassify;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLicence() {
        return licence;
    }

    public void setLicence(String licence) {
        this.licence = licence;
    }

    public String getCustomerDiffer() {
        return customerDiffer;
    }

    public void setCustomerDiffer(String customerDiffer) {
        this.customerDiffer = customerDiffer;
    }
}
